package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.MoneyflowBean;

/**
* 描述：获取沪深A股票资金流向数据，分析大单小单成交情况，用于判别资金动向
* @author: codesmith
**/
@Data
@TableName("moneyflow")
public class MoneyflowEntity implements MoneyflowBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`buy_sm_vol`") protected Integer buySmVol;

    @TableField("`buy_sm_amount`") protected Double buySmAmount;

    @TableField("`sell_sm_vol`") protected Integer sellSmVol;

    @TableField("`sell_sm_amount`") protected Double sellSmAmount;

    @TableField("`buy_md_vol`") protected Integer buyMdVol;

    @TableField("`buy_md_amount`") protected Double buyMdAmount;

    @TableField("`sell_md_vol`") protected Integer sellMdVol;

    @TableField("`sell_md_amount`") protected Double sellMdAmount;

    @TableField("`buy_lg_vol`") protected Integer buyLgVol;

    @TableField("`buy_lg_amount`") protected Double buyLgAmount;

    @TableField("`sell_lg_vol`") protected Integer sellLgVol;

    @TableField("`sell_lg_amount`") protected Double sellLgAmount;

    @TableField("`buy_elg_vol`") protected Integer buyElgVol;

    @TableField("`buy_elg_amount`") protected Double buyElgAmount;

    @TableField("`sell_elg_vol`") protected Integer sellElgVol;

    @TableField("`sell_elg_amount`") protected Double sellElgAmount;

    @TableField("`net_mf_vol`") protected Integer netMfVol;

    @TableField("`net_mf_amount`") protected Double netMfAmount;
}